package iscas.reserve.clients;

import iscas.reserve.common.CustomResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

//@FeignClient(name = "notification", url = "http://localhost:8001/api")
@FeignClient(name = "notification", url = "http://notification.demo.svc.cluster.local/api")

public interface NotificationFeignClient {
    @GetMapping("/notification/toNotify")
    CustomResult toNotification();
}
